package com.huluobo.a2207mmonthdemo.adapter;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.huluobo.a2207mmonthdemo.R;
import com.huluobo.base.bean.Money;

/**
 * Created by LC on 2024/10/10.
 */
public class PayAdapter extends BaseQuickAdapter<Money, BaseViewHolder> {
    public PayAdapter() {
        super(R.layout.item_pay);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder baseViewHolder, Money money) {
        baseViewHolder.setText(R.id.item_pay_price_tv, money.getMoney() + "元");
    }
}
